package io.comparison.pojo;

/**
 * @ClassName DataSourceVO
 * @Description TODO
 * @date 2023/5/25 15:25
 * @Version 1.0
 */
public class DataSourceVO {
    private String driver;
    private String ip;
    private String port;
    private String database;
    private String username;
    private String password;

    public DataSourceVO() {
    }

    public DataSourceVO(String driver, String ip, String port, String database, String username, String password) {
        this.driver = driver;
        this.ip = ip;
        this.port = port;
        this.database = database;
        this.username = username;
        this.password = password;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "DataSourceVO{" +
                "driver='" + driver + '\'' +
                ", ip='" + ip + '\'' +
                ", port='" + port + '\'' +
                ", database='" + database + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
